package com.wanban.tools

import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query

interface AdApi {

    @GET("doGetNewAd/{version}.do")
    fun getNewAds(@Path("version") version: String,
                  @Query("platform") platform: String,
                  @Query("channel") channel: String): Observable<NewAdEntity>


}